package com.szrt.javaweb.department.service.impl;

import java.util.ArrayList;
import java.util.List;

import com.szrt.javaweb.department.entity.DepartmentEntity;
import com.szrt.javaweb.department.service.DepartmentService;

public class DepartmentServiceImpl implements DepartmentService {

	
	
	@Override
	public List<DepartmentEntity> findAll() {
		
		List<DepartmentEntity> list  = new ArrayList<DepartmentEntity>();
		DepartmentEntity d01 = new DepartmentEntity(1001001,"财务部");
		DepartmentEntity d02 = new DepartmentEntity(1001002,"人事部");
		DepartmentEntity d03 = new DepartmentEntity(1001003,"销售部");
		
		list.add(d01);
		list.add(d02);
		list.add(d03);
		
		return list;
	}

}
